package com.platform.coreentity.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * describe:权限操作关联表
 *
 * @author rainly
 * @date 2019/07/23
 * @time 16:35
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Entity
@Table(name = "sys_privilege_uperation", schema = "platform")
public class SysPrivilegeUperationEntity {

    @Id
    @Column(name = "id", nullable = false, length = 50)
    private String id;

    /**
     * 权限id
     */
    @Column(name = "privilegeid", nullable = false, length = 50,columnDefinition = "varchar(50) COMMENT '权限id'")
    private String privilegeid;

    /**
     * 操作id
     */
    @Column(name = "uperationid", nullable = false, length = 50,columnDefinition = "varchar(50) COMMENT '操作id'")
    private String uperationid;
}
